package com.jumi.microservice.stock.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jumi.microservice.common.base.AbstractObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description
 * @ClassName StockOccupyLog
 * @Author Abel Yang
 * @Date 2020/9/9/009 15:05
 **/
@ApiModel(value = "stock_occupy_log实体", description = "仓库库存占用日志")
@TableName(value = "stock_occupy_log", keepGlobalPrefix = true)
@Data
public class StockOccupyLogDO extends AbstractObject implements Serializable {

    @ApiModelProperty(value = "")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "")
    private Long materialId;
    @ApiModelProperty(value = "")
    private Long goodsId;
    @ApiModelProperty(value = "")
    private Long warehouseId;
    @ApiModelProperty(value = "占用类型")
    private Byte occupyType;
    @ApiModelProperty(value = "占用数量")
    private Integer occupyNum;
    @ApiModelProperty(value = "")
    private String createBy;
    @ApiModelProperty(value = "")
    private Date createTime;
    @ApiModelProperty(value = "")
    private Date updateTime;
    @ApiModelProperty(value = "")
    private String updateBy;
    @ApiModelProperty(value = "")
    private Boolean isDel;

}
